package com.xiaoma.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoma.product.entity.CategoryEntity;

import java.util.List;


/**
 * @Author: xiaoma
 * @Date: 2021/7/9 10:02
 * @description:
 */
public interface CategoryService extends IService<CategoryEntity> {
    /**
     * @Description  查出所有分类以及子分类并以树形结构返回
     * @Author Xiaoma
     * @Date 2021/8/18 17:12
     * @param
     * @return java.util.List<com.xiaoma.product.entity.CategoryEntity>
     **/
    List<CategoryEntity> queryAll2Tree();

    Boolean removeMenuByIds(List<Long> idList);
}
